package presentationTier.actions;


import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import presentationTier.dialogs.AddMediumDialog;

/**
 *
 * @author vojta
 */
public class AddMediumCancelAction  implements ActionListener{
    AddMediumDialog dialog;
    
    public AddMediumCancelAction(AddMediumDialog aThis) {
        dialog = aThis;
    }

    public void actionPerformed(ActionEvent e) {
        dialog.TxtName.setText("");
        dialog.dispose();
    }

}
